﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.Mvc;
 using System.Web.Routing;

namespace Kooboo.Commerce.AddIn
{
    using Kooboo.Connect;
    

    public interface IPromotion
    {
        string Name
        {
            get;
        }

        string HeadLine
        {
            get;
        }


        IPromotionViews Views
        {
            get;
        }

        bool Execute(IPromotionRule rule, User user,PromotionContext context);

         
        void RemoveSettings(IPromotionRule rule,User user);
    }
}
